//
//  UserDefinedCellForProcessingPlant.m
//  HondaPro_2
//
//  Created by Eric on 13-6-5.
//  Copyright (c) 2013年 glendale. All rights reserved.
//

#import "UserDefinedCellForProcessingPlant.h"

@interface UserDefinedCellForProcessingPlant ()

-(void)initLabels;

@end

@implementation UserDefinedCellForProcessingPlant

@synthesize label1 = _label1;
@synthesize label2 = _label2;

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        
        [self initLabels];
        
        self.selectionStyle = UITableViewCellSelectionStyleNone;
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)initLabels
{
    self.label1= [[UILabel alloc] init];
    self.label1.backgroundColor = [UIColor clearColor];
    self.label1.font = [UIFont systemFontOfSize:13];
    self.label1.textColor = [UIColor darkGrayColor];
    self.label1.frame = CGRectMake(1, 0, 140, 50);
    [self.contentView addSubview:self.label1];
    
    self.label2= [[UILabel alloc] init];
    self.label2.backgroundColor = [UIColor clearColor];
    self.label2.font = [UIFont systemFontOfSize:13];
    self.label2.textColor = [UIColor darkGrayColor];
    self.label2.frame = CGRectMake(142, 0, 157, 50);
    [self.contentView addSubview:self.label2];
}

@end
